@import "./app.scss";

//  通用css

* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}

html,
body,
.app {
  height: 100%;
  background: #fff;
}

.none {
  display: none;
}

.inline-block {
  display: inline-block;
}

.full {
  width: 100%;
  height: 100%;
}

.full-width {
  width: 100%;
}

.full-height {
  height: 100%;
}

.left {
  float: left;
}

.right {
  float: right;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Source Sans Pro", sans-serif;
}

// font-size
.f36 {
  font-size: 36px;
}

.f24 {
  font-size: 24px;
}

.f18 {
  font-size: 18px;
}

.f14 {
  font-size: 14px;
}

.f12 {
  font-size: 12px;
}

.bold {
  font-weight: bold;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}

.root-container {
  position: relative;
  box-sizing: border-box;
  padding: 32px 84px 12px 32px;
  height: 100%;
  background-color: #fff;
}

.text-overflow {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;

  -webkit-line-clamp: 3;
}

.overflow-auto {
  overflow: auto;
}

.cursor-pointer {
  cursor: pointer;
}

.not-allowed {
  cursor: not-allowed;
}

.no-ellipsis,
.no-ellipsis .cell {
  text-overflow: unset;
}

.clearfix:after {
  clear: both;
}

.text-center {
  text-align: center;
}

.text-start {
  text-align: start;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.no-border {
  border: none;
}

// margin
.m5 {
  margin: 5px;
}

.mt5 {
  margin-top: 5px;
}

.mb5 {
  margin-bottom: 5px;
}

.mr5 {
  margin-right: 5px;
}

.ml5 {
  margin-left: 5px;
}

.m10 {
  margin: 10px;
}

.mr10 {
  margin-right: 10px;
}

.mt10 {
  margin-top: 10px;
}

.ml10 {
  margin-left: 10px;
}

.mb10 {
  margin-bottom: 10px;
}

.mr15 {
  margin-right: 15px;
}

.ml15 {
  margin-left: 15px;
}

.mt15 {
  margin-top: 15px;
}

.mb15 {
  margin-bottom: 15px;
}

.mb16 {
  margin-bottom: 16px !important;
}

.mt16 {
  margin-top: 16px;
}

.m20 {
  margin: 20px;
}

.ml20 {
  margin-left: 20px;
}

.mt20 {
  margin-top: 20px;
}

.mb20 {
  margin-bottom: 20px;
}

.mr20 {
  margin-right: 20px;
}

.mr25 {
  margin-right: 25px;
}

.m30 {
  margin: 30px;
}

.mt30 {
  margin-top: 30px;
}

.mr30 {
  margin-right: 30px;
}

.mb30 {
  margin-bottom: 30px;
}

.ml30 {
  margin-left: 30px;
}

.mt40 {
  margin-top: 40px;
}

.mr40 {
  margin-right: 40px;
}

.mr50 {
  margin-right: 50px;
}

.ml50 {
  margin-left: 50px;
}

.ml40 {
  margin-left: 40px;
}

.ml45 {
  margin-left: 45px;
}

.mt70 {
  margin-top: 70px;
}

.ml90 {
  margin-left: 90px;
}

// padding
.px5 {
  padding: 0 5px;
}

.p5 {
  padding: 5px;
}

.pl5 {
  padding-left: 5px;
}

.px10 {
  padding-right: 10px;
  padding-left: 10px;
}

.pt10 {
  padding-top: 10px;
}

.pb10 {
  padding-bottom: 10px;
}

.pl10 {
  padding-left: 10px;
}

.pr10 {
  padding-right: 10px;
}

.pt15 {
  padding-top: 15px;
}

.pl15 {
  padding-left: 15px;
}

.pt20 {
  padding-top: 20px;
}

.pl20 {
  padding-left: 20px;
}

.pr20 {
  padding-right: 20px;
}

.pb20 {
  padding-bottom: 20px;
}

.p0 {
  padding: 0px;
}

.p10 {
  padding: 10px;
}

.p20 {
  padding: 20px;
}

.pl37 {
  padding-left: 37px;
}

.pl16 {
  padding-left: 16px;
}

.pb30 {
  padding-bottom: 30px;
}

.pl50 {
  padding-left: 50px;
}

.pl60 {
  padding-left: 60px;
}

.pl80 {
  padding-left: 80px;
}

// flex
.flex {
  display: flex;
}

.flex1 {
  flex: 1;
}

.flex2 {
  flex: 2;
}

.flex3 {
  flex: 3;
}

.flex4 {
  flex: 4;
}

.flex5 {
  flex: 5;
}

.flex6 {
  flex: 6;
}

.flex7 {
  flex: 7;
}

.flex-center {
  align-items: center;
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.justify-start {
  justify-content: flex-start;
}

.flex-align-center {
  align-items: center;
}

.flex-align-start {
  align-items: flex-start;
}

.flex-justify-center {
  justify-content: center;
}

.flex-between {
  align-items: center;
  justify-content: space-between;
}

.flex-between-align-start {
  align-items: flex-start;
  justify-content: space-between;
}

.flex-around {
  align-items: center;
  justify-content: space-around;
}

.flex-d {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-wrap-reverse {
  flex-wrap: wrap-reverse;
}

.border-box {
  box-sizing: border-box;
}
